package com.banksoft.cps.dao;

import com.banksoft.cps.bean.OffsetOrder;
import com.banksoft.cps.bean.query.OffsetOrderQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/2/23.
 */
@Repository
public interface OffsetOrderDao {
    void insert(OffsetOrder bean);
    void update(OffsetOrder bean);

    List<OffsetOrder> query(OffsetOrderQuery query);
    long count(OffsetOrderQuery query);

    List<OffsetOrder> listBySaleOrderIdList(List<String> idList);
}
